package com.topisv.tms.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "shipped_box_skus")
public class ShippedBoxSkus extends IdEntity {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String boxCode;// varchar(20) NOT NULL COMMENT '出库批次编号',
	private String batchCode;// varchar(64) NOT NULL COMMENT '出库批次',
	private String backupTaskCode;// varchar(20) NOT NULL COMMENT '备货任务编号',
	private String skuId;// varchar(64) NOT NULL COMMENT '商品编号',
	private int realQty;// int(11) default 0 COMMENT '商品数量',

	@Column(name = "box_code")
	public String getBoxCode() {
		return boxCode;
	}

	public void setBoxCode(String boxCode) {
		this.boxCode = boxCode;
	}

	@Column(name = "batch_code")
	public String getBatchCode() {
		return batchCode;
	}

	public void setBatchCode(String batchCode) {
		this.batchCode = batchCode;
	}

	@Column(name = "backup_task_code")
	public String getBackupTaskCode() {
		return backupTaskCode;
	}

	public void setBackupTaskCode(String backupTaskCode) {
		this.backupTaskCode = backupTaskCode;
	}

	@Column(name = "sku_id")
	public String getSkuId() {
		return skuId;
	}

	public void setSkuId(String skuId) {
		this.skuId = skuId;
	}

	@Column(name = "real_qty")
	public int getRealQty() {
		return realQty;
	}

	public void setRealQty(int realQty) {
		this.realQty = realQty;
	}

	@Column(name = "check_qty")
	public int getCheckQty() {
		return checkQty;
	}

	public void setCheckQty(int checkQty) {
		this.checkQty = checkQty;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Column(name = "create_date")
	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	@Column(name = "update_date")
	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getReserve() {
		return reserve;
	}

	public void setReserve(String reserve) {
		this.reserve = reserve;
	}

	private int checkQty;// int(11) default 0 COMMENT '扫描商品数量',
	private String status;// varchar(30) NOT NULL COMMENT
							// '状态：可选值:已经处理finish、未处理pending',
	private Date createDate;// date DEFAULT NULL COMMENT '生成时间',
	private Date updateDate;// date DEFAULT NULL COMMENT '处理时间',
	private String reserve;// varchar(64) DEFAULT NULL COMMENT '备用字段',

}
